Fix build with enabled CLICKMAP.
authoroliskoli <oliskoli>
Sun, 7 Jan 2007 21:24:10 +0000 (21:24 +0000)
committeroliskoli <oliskoli>
Sun, 7 Jan 2007 21:24:10 +0000 (21:24 +0000)
tiger.c

diff --git a/tiger.c b/tiger.c
index 364e548a0bee9b7806051dc271c927cc5afc9a78..4b0ae83853d0d5b5985ef7004f46197868962126 100644 (file)
--- a/tiger.c
+++ b/tiger.c
@@ -53,7 +53,7 @@ static double thresh_days;
  *   the projection transformations.   Some trig geek can finish that.
  */
 #if CLICKMAP
-static FILE *linkf;
+static gbfile *linkf;
 static char *clickmap = NULL;
 #endif
 
@@ -259,7 +259,7 @@ data_write(void)
                gbfclose(urlf);
 #if CLICKMAP
                if (clickmap) {
-                       linkf = gbfopen(clickmap, "w", MY NAME);
+                       linkf = gbfopen(clickmap, "w", MYNAME);
                        gbfprintf(linkf, "<map name=\"map\">\n");
                        waypt_disp_all(map_plot);
                        gbfprintf(linkf, "</map>\n");